#ifndef ACTIONCONDITION_H
#define ACTIONCONDITION_H

#include "iaction.h"
#include <QtCore>

class ActionCondition : public IAction
{
public:
    //判断base里面key为key的value是cond1还是cond2,选路.
    ActionCondition(const QJsonObject &base, const QString &key,
                    const QJsonValue &cond1, const QJsonValue &cond2);
    int execute();
};

#endif // ACTIONCONDITION_H
